package org.example.service;

import org.example.pojo.User;
import org.example.utils.ElderlyHealthResponseData;
import org.example.utils.LoginUserResponseData;
import org.example.utils.R;

/**
 * ClassName: UserLoginService
 * Description:
 *
 * @Author Kotaro
 * @Create 2024/11/24 17:10
 * @Version 1.0
 */
public interface UserService {
    ElderlyHealthResponseData selectElderlyHealthByElderlyId(String userId);

    boolean userLogin(String userId, String password);

    R  insert(User user);

    LoginUserResponseData selectUserByUserId(String userId);
}
